import os
import cv2
import shutil
from utils import RenameJpgAndXml
from tqdm import tqdm
import numpy as np


Path1 = r"I:\ImgOutput\BackUp\number"
Path2 = r"I:\ImgOutput\BackUp\Circle\number"

Path2NoFiles = []
Path1NoFiles = []

for root, dirs, files in os.walk(Path1):
    for file in tqdm(files):
        if os.path.exists(root.replace(Path1, Path2) + "\\" + file) is False:
            Path2NoFiles.append(root + "\\" + file)

for root, dirs, files in os.walk(Path2):
    for file in tqdm(files):
        if os.path.exists(root.replace(Path2, Path1) + "\\" + file) is False:
            Path1NoFiles.append(root + "\\" + file)


print(Path2NoFiles)

print("======================")
print(Path1NoFiles)
